package cn.luoshaocheng.product.mapper;

import cn.luoshaocheng.product.domain.Product;
import cn.luoshaocheng.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author luoshaocheng
 * @since 2022-08-12
 */
public interface ProductMapper extends BaseMapper<Product> {

    void onsale(@Param("ids")List<Long> ids,@Param("onsaletime") Date date);

    void offsale(@Param("ids")List<Long> ids, @Param("offsaletime")Date date);
}
